﻿@if (Request.IsAuthenticated)
{
    <text>欢迎光临! <strong>@User.Identity.Name</strong>! [ @Html.ActionLink("退出", "LogOut", "User")
    ]</text>
}
else
{
    @:[ @Html.ActionLink("登录", "LogIn", "User") ]
}
